#ifndef ADDCELLCOMMAND_H
#define ADDCELLCOMMAND_H

#include <QPointF>
#include <QUndoCommand>

class FrakOutController;

class AddCellCommand : public QUndoCommand
{
public:
    AddCellCommand(const QString& text, FrakOutController& controller, const QPointF& sceneCoordinates);
    virtual void undo();
    virtual void redo();

private:
    QPointF m_sceneCoordinates;
    FrakOutController& m_controller;
};

#endif // ADDCELLCOMMAND_H
